//
// Created by two8g on 17-11-27.
//

#ifndef ADDCOMMISSIONEDEMPLOYEE_H
#define ADDCOMMISSIONEDEMPLOYEE_H
#include <string>
#include "AddEmployeeTransaction.h"


class AddCommissionedEmployee : public AddEmployeeTransaction {
public:
    virtual ~AddCommissionedEmployee();

    AddCommissionedEmployee(int empId, std::string name, std::string address, double salary, double commissionRate);

    PaymentClassification *GetClassification() const;

    PaymentSchedule *GetSchedule() const;

private:
    double itsSalary;
    double itsCommissionRate;
};


#endif //ADDSALARIEDEMPLOYEE_H
